package com.joolun.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;

/**
 * 短信记录对象 sys_sms_log
 * 
 * @author joolun
 * @date 2025-03-10
 */
public class SysSmsLog
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logDate;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 发送状态 */
    @Excel(name = "发送状态")
    private Long sendStatus;

    /** code码 */
    @Excel(name = "code码")
    private String smsCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String smsText;

    /** 模板id */
    @Excel(name = "模板id")
    private String templateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLogDate(Date logDate) 
    {
        this.logDate = logDate;
    }

    public Date getLogDate() 
    {
        return logDate;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setSendStatus(Long sendStatus) 
    {
        this.sendStatus = sendStatus;
    }

    public Long getSendStatus() 
    {
        return sendStatus;
    }
    public void setSmsCode(String smsCode) 
    {
        this.smsCode = smsCode;
    }

    public String getSmsCode() 
    {
        return smsCode;
    }
    public void setSmsText(String smsText) 
    {
        this.smsText = smsText;
    }

    public String getSmsText() 
    {
        return smsText;
    }
    public void setTemplateId(String templateId) 
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

}
